//
//  WmcUserInfoModel.swift
//  YPWatermarkCamera
//
//  Created by 周诗松 on 2022/3/29.
//

import Foundation

struct WmcUserInfoModel: YPNetworkJsonProtocol {
    /// 用户id
    var id: String = ""

    /// 电话
    var phone: String = ""

    /// 名称
    var name: String = ""

    /// 头像
    var avatar: String = ""

    /// 来源
    var source: String = ""

    /// 版本
    var version: String = ""

    /// 创建时间
    var createTime: TimeInterval = 0

    /// 删除时间
    var deleteTime: TimeInterval = 0

    mutating func mapping(mapper: HelpingMapper) {
        mapper <<< self.id <-- "member_id"
        mapper <<< self.createTime <-- "create_time"
        mapper <<< self.deleteTime <-- "delete_time"
    }
}
